package com.sinan.core.connector;

import com.sinan.core.connector.components.PropertyContext;

import java.io.File;
import java.nio.file.Paths;
import java.util.Collection;
import java.util.List;
import java.util.Properties;

/**
 * @author pengpei
 */
public class OracleConnector extends JdbcConnector {

    public OracleConnector(PropertyContext propertyContext) {
        super(propertyContext);
    }

    @Override
    protected String getDriverClass() {
        return "";
    }

    @Override
    protected String getUrl() {
        return "";
    }


    @Override
    protected File getDriverPath() {
        return Paths.get("../driver/oracle").resolve(getProductVersion()).toFile();
    }

    @Override
    public Collection<ValidationResult> customValidate() {
        return List.of();
    }
}
